From 2468b923c2647cf843c2d8868cec9857e987da7b Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 14 Mar 2006 15:45:00 +0100 Subject: [PATCH] Xen/ia64 build fixes. Signed-off-by: Alex Williamson --- xen/arch/ia64/Rules.mk | 2 +- xen/include/asm-ia64/xensystem.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xen/arch/ia64/Rules.mk b/xen/arch/ia64/Rules.mk index 2a879dd2d1..96eb4e790d 100644 --- a/xen/arch/ia64/Rules.mk +++ b/xen/arch/ia64/Rules.mk @@ -12,7 +12,7 @@ CPPFLAGS += -I$(BASEDIR)/include -I$(BASEDIR)/include/asm-ia64 \ -I$(BASEDIR)/include/asm-ia64/linux-null \ -I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen -CFLAGS := -nostdinc -fno-builtin -fno-common -fno-strict-aliasing +CFLAGS += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing #CFLAGS += -O3 # -O3 over-inlines making debugging tough! CFLAGS += -O2 # but no optimization causes compile errors! #CFLAGS += -iwithprefix include -Wall -DMONITOR_BASE=$(MONITOR_BASE) diff --git a/xen/include/asm-ia64/xensystem.h b/xen/include/asm-ia64/xensystem.h index 10c722da5d..9c8ede0df2 100644 --- a/xen/include/asm-ia64/xensystem.h +++ b/xen/include/asm-ia64/xensystem.h @@ -75,5 +75,7 @@ extern struct task_struct *vmx_ia64_switch_to (void *next_task); // FIXME SMP... see system.h, does this need to be different? #define switch_to(prev,next,last) __switch_to(prev, next, last) +#define local_irq_is_enabled() (!irqs_disabled()) + #endif // __ASSEMBLY__ #endif // _ASM_IA64_XENSYSTEM_H -- 2.30.2